#ifndef __MAP_H
#define __MAP_H
#include "stm32f10x.h"
#include "main.h"

float map(float value, float fromLow, float fromHigh, float toLow, float toHigh);
int mapChValue(int val, int lower, int middle, int upper, int reverse);

#endif
